package com.dxy.dxythird.repository;

import com.dxy.dxythird.DO.ImageUrl;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * junfeng 2018/11/1 图片地址报错dao层
 */
public interface ImageUrlRepository extends JpaRepository<ImageUrl, Integer> {

    /**
     * 判断是否图片是否重复
     *
     * @param url
     * @return
     */
    boolean existsByQiniuUrl(String url);

}
